export default {
    plugins:[
        ['umi-plugin-react',{antd:true,dva:true}]
    ],
    routes: [
        { path: '/login', component: './login' },
        { path: '/', component: '../layout' ,routes:[
            { path: '/', component: './goods' },
            { path: '/about', component: './about', Routes: ['./routes/PrivateRoute.js'] },
            {
                path: '/users', component: './users/_layout',
                routes: [
                    { path: '/users/', component: './users/index' },
                    { path: '/users/list', component: './users/list' },
                    { path: '/users/:userid', component: './users/$userid' }
                ]
            },
            { component: './404' }
        ]}
    ],
};
